

import java.util.*;
import java.io.*;



public class ReadProperties {
	
	public String DataFile = "C:\\javawork\\work.properties";

	public String sComp;

	public String testCaseDescription, included, ignoreReason, UserName, password;
	

    
	public static void main (String args[])
	{
		ReadProperties rp= new ReadProperties();
		{
			
		System.out.println(rp.testCaseDescription);
			
		
		}
	}
	
	public void readInfo() throws Exception {
	    Properties browserProperties = new Properties();
	

	 FileInputStream props = new FileInputStream(DataFile);
    
		browserProperties.load(props);
		//System.out.println(browserProperties.toString());
	 
		
	  props.close();
	 sComp = browserProperties.getProperty("company");
    System.out.println(sComp);
  System.out.println(browserProperties.getProperty("abc"));
}
	


}